<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>::Happy - DTAC Prepaid Phone::</title>
<link href="${RESOURCE}/css/global.css" rel="stylesheet" type="text/css">
<link href="${RESOURCE}/css/global-en.css" rel="stylesheet" type="text/css">
<link href="${RESOURCE}/css/customize.css" rel="stylesheet" type="text/css">
<script src="${RESOURCE}/eng/include/AC_RunActiveContent.js" type="text/javascript"></script>
<script language=JavaScript>

function printWindow(){
browserVersion = parseInt(navigator.appVersion)
if (browserVersion >= 4) window.print()
}

function include(xUrl,xId) {
  var xmlhttp = false;
  /*@cc_on @*/
  /*@if (@_jscript_version >= 5)
  // JScript gives us Conditional compilation, we can cope with old IE versions.
  // and security blocked creation of the objects.
  try {
    xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
   } catch (e) {
      try {
        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
      } catch (E) {
        xmlhttp = false;
      }
   }

  /*@end @*/
  if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
    xmlhttp = new XMLHttpRequest();
  }

  xmlhttp.open("GET", xUrl,true);
  xmlhttp.onreadystatechange=function() {
          if (xmlhttp.readyState==4) {
                document.getElementById(xId).innerHTML = xmlhttp.responseText;
          }
  }
  xmlhttp.send(null)
}

<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

// Declaring required variables
var digits = "0123456789";
// non-digit characters which are allowed in phone numbers
var phoneNumberDelimiters = "()- ";

// characters which are allowed in international phone numbers
// (a leading + is OK)
var validWorldPhoneChars = phoneNumberDelimiters + "+";

// Minimum no of digits in an international phone no.
var minDigitsInIPhoneNumber = 10;

function isInteger(s)
{   var i;
    for (i = 0; i < s.length; i++)
    {   
        // Check engt current character is number.
        var c = s.charAt(i);
        if (((c < "0") || (c > "9"))) return false;
    }

    // All characters are numbers.
    return true;
}

function stripCharsInBag(s, bag)
{   var i;
    var returnString = "";
    // Search through string's characters one by one.
    // If character is not in bag, append to returnString.
    for (i = 0; i < s.length; i++)
    {   
        // Check engt current character isn't whitespace.
        var c = s.charAt(i);
        if (bag.indexOf(c) == -1) returnString += c;
    }
    return returnString;
}

function checkInternationalPhone(strPhone){
	s = stripCharsInBag(strPhone,validWorldPhoneChars);
	return (isInteger(s) && s.length >= minDigitsInIPhoneNumber);
}

function ValidateForm(){
	var Phone=document.form1.inputUserName;
	document.form1.submit();
 }

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function alertChgMobileNumb(){
  var format = /^[0-9]{9}$/;
  if(format.test(document.form1.inputUserName.value)) { 
			alert("ตั้งแต่วันที่ 1 กันยายน เป็นต้นไป รหัสผู้ใช้ 9 หลัก จะเปลี่ยนเป็น 10 หลัก โดยใส่ 08 แทน 0 ตัวหน้า \nในครั้งต่อไปกรุณาใช้รหัสผู้ใช้ 10 หลักในการใช้บริการผ่านเว็บ.");
	}
	document.form1.submit();
}

function popupHappyBonusDetail(){
	var w=500;
	var h=300;
	var l = (screen.width - w) / 2;
	var t = (screen.height - h ) / 2;
	window.open("http://www.happy.co.th/en/popup/bonus/bonus.html","HappyBonus", "width=700,height=500,scrollbars=1,dialogTop=" + t + ",dialogLeft=" + l + "px");	
}
//-->
</script> 

</head>
<body>
<div id="header">
    <%@include file="../head.jsp" %>
</div>

<div id="container">
	<div id="pathway"><a href="/bp3/bin/Dspc/DpromptIndex" class="link2">Web Services</a>> <a href="/bp3/bin/Dspc/DpromptWelcome"  class="link2">Profile and Service</a> > Happy Bank</div>
	<div id="main">
    	<%@ include file="../menu.jsp" %>
    	<div id="content">
        	<div class="content-middle">
                
                <!--เนื้อหาเริ่มที่นี่-->
                <h3><img src="${RESOURCE}/eng/images/14_webservice_head01.gif"></h3>
               	<table width="100%" cellpadding="2" cellspacing="2" height="500">
                  	<tr>
                    	<td valign="top">
                        
                        	<table width="650" border="0" cellspacing="0" cellpadding="0">
							  <!--SVLT.VAR:CONF_TOP-->
                                <tr> 
                                  <td height="40"><table width="100%" border="0" cellspacing="3" cellpadding="0">
                                      <tr> 
                                        <td width="2%"><img src="${RESOURCE}/eng/images/14_webservice_bullet01.gif" width="9" height="9"></td>
                                        <td width="98%" class="textnormal_bold"><img src="${RESOURCE}/eng/images/14_webservice_subtitle23.gif" width="182" height="22" alt="Version 1.1"> 
                                        </td>
                                      </tr>
                                      <tr> 
                                        <td>&nbsp;</td>
                                        <td class="textnormal">You can easily 
                                          apply or check your Happy Bank benefit 
                                          here.<br> <br></td>
                                      </tr>
                                    </table></td>
                                </tr>
                                <tr> 
                                  <td height="50" align="center" valign="bottom"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                      <tr> 
                                        <td background="${RESOURCE}/eng/images/14_webservice_tabline.gif">&nbsp;</td>
                                        <td width="202"><img src="${RESOURCE}/eng/images/14_bank_tab02_o.gif" alt="Check benefits" width="233" height="43" border="0"></td>
                                        <td width="202" background="${RESOURCE}/eng/images/14_webservice_tabline.gif">&nbsp;</td>
                                        <td background="${RESOURCE}/eng/images/14_webservice_tabline.gif">&nbsp;</td>
                                      </tr>
                                    </table></td>
                                </tr>
                                <tr> 
                                  <td height="15" align="center">&nbsp;</td>
                                </tr>
                                <tr> 
                                  <td height="15" align="left"><span class="textnormal_bold">Benefits 
                                    for Happy Bank Program Members</span><span class="textnormal"><br>
                                    Happy Bank keeps you smiling with on-going 
                                    benefits and happiness for members.</span><br> 
                                    <br> 
                                    <table width="95%" border="0" cellspacing="3" cellpadding="0">
                                      <tr> 
                                        <td width="2%" valign="baseline"><img src="${RESOURCE}/eng/images/bullet_grey.gif" width="9" height="9"></td>
                                        <td width="98%"><span class="textnormal_bold">Enjoy 
                                          50-200 Baht Happy Bonus Every Quarter</span><br>
                                          <span class="textnormal">When you are 
                                          successfully registered as a Happy Bank 
                                          Member, you will be eligible to earn 
                                          up to 200 Baht Happy Bonus per quarter 
                                          as reward for your spending. Happy Bank 
                                          rewards 50 Baht for every 400 Baht of 
                                          your accumulated spending per quarter.</span> 
                                          <br> <br> <table width="95%" border="0" align="center" cellpadding="2" cellspacing="1">
                                            <tr> 
                                              <td width="16%" align="center" bgcolor="#FF0000" class="textnormalwhite"><strong>Happy 
                                                Bonus Reward Date</strong></td>
                                              <td width="17%" align="center" bgcolor="#FF0000" class="textnormalwhite"><strong>Usage 
                                                Period (From-To)</strong></td>
                                              <td width="15%" align="center" bgcolor="#FF0000" class="textnormalwhite"><strong>Total 
                                                Usage<br>&nbsp;
                                                </strong></td>
                                              <td width="16%" align="center" bgcolor="#FF0000" class="textnormalwhite"><strong>Happy 
                                                Bonus Amount</strong></td>
                                              <td width="20%" align="center" bgcolor="#FF0000" class="textnormalwhite"><strong>Status 
                                                of Happy Bonus Received</strong></td>
                                            </tr>
                                            <tr> 
                                              <td colspan="5"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                  <tr> 
                                                    <td height="1" bgcolor="#B4B4B4"></td>
                                                  </tr>
                                                </table></td>
                                            </tr>
                                            <!--SVLT.LOOP:result-->
                                            <tr> 
                                              <td align="center" valign="top" class="textnormal"> 
                                                <!--SVLT.VAR:date-->
                                              </td>
                                              <td align="center" valign="top" class="textnormal"> 
                                                <!--SVLT.VAR:period-->
                                              </td>
                                              <td align="center" valign="top" class="textnormal"> 
                                                <!--SVLT.VAR:total-->
                                              </td>
                                              <td align="center" valign="top" class="textnormal"> 
                                                <!--SVLT.VAR:amount-->
                                              </td>
                                              <td align="center" valign="top" class="textnormal"> 
                                                <!--SVLT.VAR:status-->
                                              </td>
                                            </tr>
                                            <tr> 
                                              <td colspan="5"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                  <tr> 
                                                    <td height="1" bgcolor="#B4B4B4"></td>
                                                  </tr>
                                                </table></td>
                                            </tr>
                                            <!--SVLT.END:result-->
                                          </table></td>
                                      </tr>
                                    </table>
                                    <br> <table width="95%" border="0" cellspacing="3" cellpadding="0">
                                      <tr> 
                                        <td  width="2%" valign="baseline">&nbsp;</td>
                                        <td width="98%"><span class="textnormal_bold"> 
                                          Your next reward date is within 
                                          <!--SVLT.VAR:nextPrcsDate-->
                                          </span><br>
                                          <span class="textnormal">(Remark: In 
                                          receiving Happy Bonus per quarter, you 
                                          must have the required accumulated spending 
                                          threshold and the system shall refill 
                                          Happy Bonus with 3 days after your reward 
                                          date. On the day of the Happy Bonus 
                                          refill, your subscriber must have at 
                                          least 1 validity day remaining.)</span></td>
                                      </tr>
                                      <tr> 
                                        <td valign="baseline">&nbsp;</td>
                                        <td>&nbsp;</td>
                                      </tr>
                                      <tr> 
                                        <td width="2%" valign="baseline"><img src="${RESOURCE}/eng/images/bullet_grey.gif" width="9" height="9"></td>
                                        <td width="98%"><span class="textnormal_bold">SIM Guard </span><span class="textnormal">(SIM Loss/Damage Warranty)</span><br>
                                          <span class="textnormal">As a member 
                                          should you loose or damage your SIM 
                                          Card, Happy Bank offers a hassle-free, 
                                          free SIM replacement at dtac Service 
                                          Halls nationwide. To enjoy this benefit, 
                                          members can simply present their ID card at any dtac Service Halls.</span><br> </td>
                                      </tr>
                                    </table>
                                    <table width="95%" border="0" cellspacing="3" cellpadding="0">
                                      <tr> 
                                        <td valign="baseline">&nbsp;</td>
                                        <td>&nbsp;</td>
                                      </tr>
                                      <tr> 
                                        <td width="2%" valign="baseline"><img src="${RESOURCE}/eng/images/bullet_grey.gif" width="9" height="9"></td>
                                        <td width="98%"><span class="textnormal_bold">Birthday 
                                          Bonus </span><span class="textnormal">(for members reaching 180 
                                          days membership onwards)</span> <br>
                                          <span class="textnormal">A big birthday 
                                          gift for Happy Bank members. Happy Bank 
                                          rewards its members with free double 
                                          top-up bonus (up to </span><span class="textnormal">500</span><span class="textnormal"> 
                                          Baht) when they make a first refill 
                                          on their birthday.</span><br> <br>
                                          </td>
                                      </tr>
                                      <tr>
                                        <td valign="baseline">&nbsp;</td>
                                        <td><span class="textnormal">• </span><span class="textnormal_bold">Your 
                                          Birthday :</span> <span class="textnormal"> 
                                          <!--SVLT.VAR:brithDay-->
                                          </span><br>
                                          <br>
                                        </td>
                                      </tr>
                                      <tr> 
                                        <td valign="baseline">&nbsp;</td>
                                        <td><span class="textnormal_bold"> </span><span class="textnormal">• 
                                          </span><span class="textnormal_bold">Your 
                                          Membership Registration Date : </span>
                                          <span class="textnormal"><!--SVLT.VAR:regisDate--></span>
                                          </td>
                                      </tr>
                                      <tr> 
                                        <td valign="baseline">&nbsp;</td>
                                        <td>&nbsp;</td>
                                      </tr>
                                      <tr> 
                                        <td valign="baseline">&nbsp;</td>
                                        <td>										
										<em><span class="textnormal_bold"> *Term and condition of Happy Bonus:</span></em>&nbsp;&nbsp;                                         										 
										 <span class="textnormal_bold"><a href="#" onClick="popupHappyBonusDetail();">Click link to see in Term and condition of Happy Bonus here </a></span></td>
                                      </tr>
                                    </table>
                                    <p>&nbsp;</p>
                                    <table width="250" border="0" align="center" cellpadding="5" cellspacing="0">
                                      <tr align="center" valign="top"> 
                                        <input name="sType" type="hidden" id="sType3" value="<!--SVLT.VAR:sType-->">
                                        <input name="code" type="hidden" id="code2" value="<!--SVLT.VAR:code-->">
                                        <input name="func" type="hidden" id="func">
                                        <td><img src="${RESOURCE}/eng/images/14_webservice_submit.gif" width="58" height="23" border="0" style="display:none"></td>
                                        <td><img src="${RESOURCE}/eng/images/14_webservice_cancel.gif" width="58" height="23" border="0" style="display:none"></td>
                                      </tr>
                                    </table>
                                    <p>&nbsp;</p>
									</td>
                                </tr>
								 <!--SVLT.VAR:CONF_BOTTOM-->
                              </table>
                        
                        </td>
                 	</tr>
              	</table>                
                <!--เนื้อหาสิ้นสุดที่นี่-->
                
            </div>
            <div class="content-bottom"></div>
        </div>
    </div>
</div>
<div id="footer">
<img src="${RESOURCE}/eng/images/copy_right.jpg" />
<a href="http://www.dtac.co.th" target="_blank"><img src="${RESOURCE}/eng/images/dtact_logo.jpg" border="0" /></a>
<a href="http://www.happyvirus.com" target="_blank"><img src="${RESOURCE}/eng/images/virus_icon.jpg" border="0" /></a>
</div>
</body>
</html>
